Skip to content

Fixed Text File Editor losing unsaved changes when rotating screen#111

Merged
naveensingh merged 3 commits intoFossifyOrg:masterfrom
Burgerpower01:master
May 21, 2025
Merged

Fixed Text File Editor losing unsaved changes when rotating screen#111
naveensingh merged 3 commits intoFossifyOrg:masterfrom
Burgerpower01:master

Conversation

@Burgerpower01
Copy link
Contributor

What is it?

  • Bugfix
  • Feature
  • Codebase improvement

Description of the changes in your PR

  • Changes in ReadTextActivity:
    • Added onSaveInstanceState() to save edited text and restore it when Activity is reloaded
    • Added parameter savedInstanceState to checkIntent() to access the unsaved text

Before/After Screenshots/Screen Record

  • N/A

Fixes the following issue(s)

Acknowledgement

@Burgerpower01 Burgerpower01 changed the title Fixed Text File Editor loosing unsaved changes when rotating screen Fixed Text File Editor losing unsaved changes when rotating screen Jul 12, 2024
@naveensingh naveensingh self-assigned this May 20, 2025
Copy link
Member

@naveensingh naveensingh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@naveensingh naveensingh merged commit 97dcf30 into FossifyOrg:master May 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text File Editor re-initialises/reloads View when rotating screen

3 participants